package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.medical.enums.TagTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import lombok.Data;
import java.util.Date;

/**
 * 用户标签表对象 user_taglibrary
 *
 * @author ym
 * @date 2020-08-20
 */
@ApiModel("用户标签表-列表")
@Data
public class UserTaglibraryListPcVO implements Serializable{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("被标签人")
    private Long tagedUserId;

    @ApiModelProperty("标签人")
    private Long tagUserId;

    @ApiModelProperty("标签类型(1：标准,2：自定义)")
    @JsonSerialize(converter = TagTypeEnum.Covert.class)
    private String tagType;

    @ApiModelProperty("标签库ID")
    private Long tagId;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
